package helper;

import palindrome.Palindrome;

/**
 * @author Jarvan
 * @version 1.0
 * @create 2020/10/13 9:49
 */
public class Helper {
    public static void start() {
        System.out.println("input the string(end with [enter]) and judge whether is palindrome or not.");
//        String inputString = new Scanner(System.in).nextLine();
        String inputString = "12321";
        char[] chars = inputString.toCharArray();
        System.out.println(Palindrome.isPalindrome(chars, 0, chars.length - 1));
    }
}
